#set($layout = "/layout/no.html") 
#parse("/common/common.html")
##grid
<div class="page-content">
	<div class="page-content-area">
		<div class="row">
			<form id="mainForm" action="#" class="form-horizontal">
			<input name="materialId" type="hidden" value="" />
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialName"><span class="form-require">*</span>物料名称</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="materialName" name="materialName" placeholder="物料名称" value="" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialBrand"><span class="form-require">*</span>物料品牌</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required" type="text" id="materialBrand" name="materialBrand" placeholder="物料品牌" value="" />
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="supplierName"><span class="form-require">*</span>供应商</label>
					<div  class="col-xs-10 col-sm-8" >
					    <span class="col-sm-10">
					       	<input  class="form-control required" type="text" id="supplierName"  placeholder="供应商" value="" readonly="readonly"/>
					        <input  type="hidden" id="supplierId" name="supplierId"/>
					    </span>
						 <span class="col-sm-2">
                          <button class="btn btn-default" type="button" id="supplierSelectBtn">选择</button>
                       </span>
					</div>
				</div>
			</div>
			
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialType"><span class="form-require">*</span>物料类型</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="materialType" name="materialType">
						<option value="">请选择</option>
					    #select($dicts.materialType)
					    </select>
					</div>
				</div>
			</div>
			
			<div style="height: 0px; width: 0px;clear: both;">&nbsp;</div>
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialUnit"><span class="form-require">*</span>单位</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="materialUnit" name="materialUnit">
						<option value="">请选择</option>
					    #select($dicts.materialUnit)
					    </select>
					</div>
				</div>
			</div>
			
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialLife"><span class="form-require">*</span>保质期</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="materialLife" name="materialLife">
						<option value="">请选择</option>
					    #select($dicts.materialLife)
					    </select>
					</div>
				</div>
			</div>
			
			 <div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="onProductTime"><span class="form-require">*</span>投产日期</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required date" type="text" id="onProductTime" name="onProductTime" placeholder="投产日期" value="" class="date"/>
					</div>
				</div>
			</div>
			
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="omMarketTime"><span class="form-require">*</span>上市日期</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control required date" type="text" id="omMarketTime" name="omMarketTime" placeholder="上市日期" value="" class="date"/>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="omMarketTime">停产日期</label>
					<div  class="col-xs-10 col-sm-8" >
						<input class="form-control  date" type="text" id="downProductTime" name="downProductTime" placeholder="停产日期" value="" class="date"/>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="isSerialize"><span class="form-require">*</span>是否可序列化</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="isSerialize" name="isSerialize"  >
					    #select($dicts.yesOrNo)
					    </select>
					</div>
				</div>
			</div>
			
			<div class="col-xs-12 col-sm-6">
				<div class="form-group">
					<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="materialStatus"><span class="form-require">*</span>状态</label>
					<div  class="col-xs-10 col-sm-8" >
						<select class="form-control required" id="materialStatus" name="materialStatus"  >
					    #select($dicts.useStatus)
					    </select>
					</div>
				</div>
			</div>
				<!-- 清楚浮动 -->
			<!-- <div style="height: 0px; width: 0px;clear: both;">&nbsp;</div> -->
			   
			</form>
		</div>
	</div>
</div>
<script src="${contextPath}/view/depot/material/js/base/add.js"></script>